package com.core.website.service;

import com.core.website.entity.CoreUnit;

import java.util.List;

public interface UnitService {
    int add(CoreUnit coreUnit);
    int edit(CoreUnit coreUnit);
    int delete(List<String> ids);
    List<CoreUnit> queryAll(CoreUnit coreUnit);
    CoreUnit queryOne(String id);
}
